package com.ofhb.webapp.client.services;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ofhb.webapp.shared.dto.HallDTO;
import com.ofhb.webapp.shared.dto.UserDTO;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface DataWriterServiceAsync {
	
	void save(UserDTO userDTO, AsyncCallback<UserDTO> callback) throws IllegalArgumentException;
	
	void save(HallDTO hallDTO, AsyncCallback<HallDTO> callback) throws IllegalArgumentException;
}
